﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PSE.LogPackager.Application;
using PSE.Framework.ErrorLogging;
using PSE.Framework.Configuration;
using PSE.Framework.Process;

namespace Sinacor.UI.LogPackager.Application
{
    public class Program : BaseProgram
    {
        static Program()
        {
            Initialize(Sinacor.Infra.Common.Configuration.SystemComponents.System, PSE.Framework.Configuration.Components.SystemComponents.LogPackager);
        }   

        [STAThread]
        static void Main(string[] args)
        {
            try
            {
                LogPackagerApplication application = new LogPackagerApplication();
                application.Run();
            }
            catch (Exception ex)
            {
                HandleException(ex);
            }
        }
    }
}
